<?php
/**
 * Created by PhpStorm.
 * User: fly
 * Date: 2018\1\16 0016
 * Time: 13:30
 */

namespace common\models;

use yii\elasticsearch\ActiveRecord;
class SearchPackage extends ActiveRecord{

    public function attributes()
    {
        return ['PackageTitle',"realname"];
    }
    public static function index()
    {
        return ["package","user","package_transfer","package_initiation","auth_item"];
    }
    public static function type()
    {
        return ["package","user","transfer","initiation","item"];
    }
}